package com.guoxin.concurrentprogramming.chapter4.stream;

public class Main2 {
    public static void main(String[] args) {

        for (int i = 0; i < 1000; i++) {
            for (int j = 0; j < 1000; j++) {
                int result = (i + j) * i / 2;
                System.out.println("(" + i + "+" + j + ")*" + i + "/2=" + result);
            }
        }
    }
}
